﻿using RpcHelper.Validate;
namespace RpcModel
{
        public class ContainerInfo
        {
              
                /// <summary>
                /// 容器Id
                /// </summary>
                [NullValidate("rpc.container.id.null")]
                public string ContainerId
                {
                        get;
                        set;
                }
                /// <summary>
                /// 默认端口号
                /// </summary>
                [NumValidate("rpc.port.error",1,int.MaxValue)]
                public int? DefPort
                {
                        get;
                        set;
                }
        }
}
